package com.kuang.controller.manage_device;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/manage/")
@Slf4j
public class ManageDeviceController {

    @RequestMapping("toManageIndext")
    public String toManageIndext(){
        return "manage_device/M1_Web_JavaScript";
    }

    @RequestMapping("ImportManageId")
    @ResponseBody
    public String ImportManageId(@RequestBody String json){
        log.info(json);
        return json;
    }

}
